package com.bbznb.config;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;
import reactor.core.publisher.Flux;

@AiService(
        chatModel = "openAiChatModel",
        streamingChatModel = "openAiStreamingChatModel"
        ,chatMemory = "chatMemory"
        ,tools = "userTool"
)
public interface AIservice {
    @SystemMessage(fromResource = "chatModels.txt")
    public Flux<String> getChatModels(String
                                      message);
}
